import { request } from '@/utils'
 export const getChane=()=>{
  return request({
    url:'/channels',
    method:'GET',
  
  })
 }
 
 export const addChannel = (data:unknown) => {
  return request({
    url: '/mp/articles?draft=false',
    method: 'POST',
    data,
  })
 }
 /* eslint-disable @typescript-eslint/no-explicit-any */
 export const getListdat =(params:any)=>{
  return request({
    url:'/mp/articles',
    method:'GET',
  params
  })
 }